package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 邀请朋友中间表对象 invite_friend_middle
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("邀请朋友中间表-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "invite_friend_middle")
public class InviteFriendMiddleEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 邀请人主键
	 */
	@ApiModelProperty("邀请人主键")
	private Long inviteId;

	/**
	 * 被邀请人主键
	 */
	@ApiModelProperty("被邀请人主键")
	private Long invitedId;

	/**
	 * 是否邀请成功00否01是
	 */
	@ApiModelProperty("是否邀请成功00否01是")
	private String inviteState;

	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createTime;

}
